package com.fruit.mapper.pay;

import java.util.List;

import com.fruit.pojo.StockRecord.StockRecordGoods;
import com.fruit.pojo.depot.Depot;
import com.fruit.pojo.order.Order;
import com.fruit.pojo.order.StockRecord;
import com.fruit.pojo.pay.TransactionBankFlow;
import com.fruit.pojo.pay.TransactionFlow;

public interface PayMapper {

	List<TransactionFlow> getTransactionFlowList(TransactionFlow t);

	void saveBankFlow(TransactionBankFlow t);

	TransactionFlow getTransactionFlow(String id);

	List<TransactionBankFlow> getTransactionBankFlowList(String id);

	int updateTransactionFlowState(TransactionFlow tf);

	Depot getDepot();

	void addStockRecord(StockRecord sr);

	List<Order> getOrderGoods(TransactionFlow tf);

	void addStockRecordGoods(StockRecordGoods srg);

	int updateDepotStockNum(StockRecordGoods srg);

	int updateGoodsNum(StockRecordGoods srg);

	int updateOrderState(TransactionFlow tt);

	
}
